import Component, { BaseProps } from "./Component";

export default class DIVComponent extends Component {
    constructor(props: BaseProps) {
        super(props)
    }
    render() {
        const element = document.createElement("div");
        if (this.innerChildren?.length) {
            this.innerChildren.forEach(qaq => {
                element.appendChild(qaq.render());
            })
        }
        return element;
    }
}